package com.kanshu.ksgb.fastread.doudou.module.reader.bean;

/**
 * Created by newbiechen on 17-5-20.
 */
public class BookRecordBean {
    //所属的书的id
    public String bookId;
    //阅读到了第几章
    public int chapter = 1;
    //阅读到了第几段
    public int itemPos;
    // 兼容老版本阅读器的字段
    public int startPos;

    public BookRecordBean(String bookId, int chapter, int itemPos) {
        this.bookId = bookId;
        this.chapter = chapter;
        this.itemPos = itemPos;
    }

    public BookRecordBean() {
    }

    public String getBookId() {
        return bookId;
    }

    public void setBookId(String bookId) {
        this.bookId = bookId;
    }

    public int getChapter() {
        return chapter;
    }

    public void setChapter(int chapter) {
        this.chapter = chapter;
    }

    public int getItemPos() {
        return itemPos;
    }

    public void setItemPos(int itemPos) {
        this.itemPos = itemPos;
    }

}
